package com.example.gokchinesefoodmappcdev.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 商品规格名(GoodAttrKey)实体类
 *
 * @author makejava
 * @since 2022-11-27 15:48:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("goods_attr_key")
public class GoodAttrKey implements Serializable {
    private static final long serialVersionUID = -95177045840985964L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 商品id
     */
    private Integer goodId;
    /**
     * 规格名
     */
    private String attrName;
    /**
     * 状态，1历史，0在用
     */
    private String isHis;
    /**
     * 排序标志
     */
    private Integer sort;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getAttrName() {
        return attrName;
    }

    public void setAttrName(String attrName) {
        this.attrName = attrName;
    }

    public String getIsHis() {
        return isHis;
    }

    public void setIsHis(String isHis) {
        this.isHis = isHis;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

}

